<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <%@ include file="/common/CimsCommon.jsp" %>
   <title>修改费用参数</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <script type="text/javascript" src="${basePath}/js/cims/costManage/queryTCMmCostParam.js"></script>
</head>
  
<body style="background-color:#FFFFFF">
<div id="formPageSwap">
  <br/>
<form id="updateNewsFormData" name="updateNewsFormData" isCheck="true" action="com.jy.modules.platform.tcmmcostparam.controller.TCMmCostParamController">
<input type="hidden" class="text" id="dtoid" name="id" notNull="false" maxLength="11" value="${dto.id}" />
 <table id="updateNewsTableId" class="formTableSwap" border="0" align="center" cellpadding="0" cellspacing="1" >
<tr>
  <th> 费用编号 ：</th>
  <td > 
  <input type="text" class="text" id="dtocostCode" name="costCode" notNull="false" maxLength="32" value="${dto.costCode}" />
  </td>
  <th> 费用名称 ：</th>
  <td > 
  <input type="text" class="text" id="dtocostName" name="costName" notNull="false" maxLength="64" value="${dto.costName}" />
  </td>
  <th> 计算方式 ：</th>
  <td > 
   <syscode:dictionary name="countType"   codeType="COSTCOUNTTYPE" defaultValue="${dto.countType}"
				id="dtocountType"	className="text"	type="select"/>
  
  </td>
</tr>
<tr>
 <!--   <th> 费用主体 ：</th>
  <td > 
  <input type="text" class="text" id="dtocostBody" name="costBody" notNull="false" maxLength="16" value="${dto.costBody}" />
  </td>-->
  <th> 服务费基数 ：</th>
  <td > 
    <syscode:dictionary name="serviceFeeBase"   codeType="FeeBase"  defaultValue="${dto.serviceFeeBase}"
				id="dtoserviceFeeBase"	className="text"	type="select"/>
  </td>
  <th> 服务费费率 ：</th>
  <td > 
  <input type="text" class="text" id="dtoserviceFeeRatio" name="serviceFeeRatio"   maxLength="14"    value="${dto.serviceFeeRatio}" />
  </td>
   <th> 打包价 ：</th>
  <td > 
  <input type="text" class="text" id="dtopackageRatio" name="packageRatio"  maxLength="14" value="${dto.packageRatio}" />
  </td>
</tr>
<tr>
 
  <th> 担保费基数 ：</th>
  <td > 
  <syscode:dictionary name="guaranteeFeeBase"   codeType="bondFeeBase" defaultValue="${dto.guaranteeFeeBase}" 
				id="dtoguaranteeFeeBase"	className="text"	type="select"/>
  </td>
  <th> 担保费比例 ：</th>
  <td colspan="4"> 
  <input type="text" class="text" id="dtoguaranteeFeeRatio" name="guaranteeFeeRatio"   maxLength="14"    value="${dto.guaranteeFeeRatio}" />
  </td>
</tr>
<tr>
  <th> 保证金基数 ：</th>
  <td > 
   <syscode:dictionary name="marginBase"   codeType="riskFundBase"  defaultValue="${dto.marginBase}"
				id="dtomarginBase"	className="text"	type="select" />
  </td>
  <th> 保证金比例 ：</th>
  <td colspan="4"> 
  <input type="text" class="text" id="dtomarginRatio" name="marginRatio" maxLength="14"    value="${dto.marginRatio}" />
  </td>
 
</tr>
<tr>
  <th> 生效日期 ：</th>
  <td > 
  <input type="text" class="text" id="dtobeginDate" name="beginDate" notNull="false" maxLength="12" value="${dto.beginDate}" />
  </td>
  <th> 失效日期 ：</th>
  <td  colspan="4"> 
  <input type="text" class="text" id="dtoendDate" name="endDate" notNull="false" maxLength="12" value="${dto.endDate}" />
  </td>
<!--    <th> 创建人 ：</th>
  <td > 
  <input type="text" class="text" id="dtocreateBy" name="createBy" notNull="false" maxLength="25" value="${dto.createBy}" />
  </td>
  <th> 创建时间 ：</th>
  <td colspan=""> 
  <input type="text" class="text" id="dtocreateTime" name="createTime" notNull="false" maxLength="6" value="${dto.createTime}" />
  </td>-->
</tr>
  </table>

<!-- 保存 关闭 按钮 在 查询页面进行控制 -->  
   <div class="expandToolbar">
			<span class="submitBtn" onclick="doUpdateFrom();">保存</span>
			<span class="submitBtn" onclick="parent.tabs.close();">关闭</span>
		</div>
		
		
		
		<span style="font-size: 12px;color: red;align:left;">
			<p>
			特殊说明:</br>
			1. 打包价可以整数/小数点进行保存; </br>
			2. 费率基数精确到小数点,否则无法保存;</br>
			</p>
		</span>
		
</form>

</div>

</body>

<script type="text/javascript">
   $(document).ready(function(){
   		checkedInit();
   		Cmm.util.dateInputInit("updateNewsFormData");
   		Cmm.util.checkDdateInit("dtobeginDate","dtoendDate");
   		$("#dtocostCode").attr("disabled","disabled");
	});
</script>
  
</html>
